package ar.edu.sovietrussia.customcomponents.util;

/**
 * Wrapper for the SearchCurrentLoansByUserComponent table
 */
public class BookAndStatusWrapper {

    private String bookName;

    private String expiringDate;

    private long code; // NOT GOING TO SHOW THIS

    private Boolean selected = Boolean.FALSE;

    public BookAndStatusWrapper(final String aBookName, final String anExpiringDate, final long aCode) {
        bookName = aBookName;
        expiringDate = anExpiringDate;
        code = aCode;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(final String bookName) {
        this.bookName = bookName;
    }

    public String getExpiringDate() {
        return expiringDate;
    }

    public void setExpiringDate(final String expiringDate) {
        this.expiringDate = expiringDate;
    }

    public Boolean getSelected() {
        return selected;
    }

    public void setSelected(final Boolean selected) {
        this.selected = selected;
    }

    public long getCode() {
        return code;
    }

}
